package com.share.netdisk.user.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.share.netdisk.user.model.User;
import org.springframework.http.ResponseEntity;

public interface UserService extends IService<User> {
    String login(User user);
    String register(User user);
    boolean isExist(String username);
    ResponseEntity<byte[]> generateCaptcha();
    boolean validateCaptcha(String uuid, String code);
    boolean logout(String username);
}
